<ul class="cfg-submenu">
<?php 

foreach ($this->fields as $key => $params)
{
	$cKey = $this->idParts[0]. '/' .$key;
?>	
	<li class="<?php echo ($cKey == $this->id) ? 'active' : ''; ?>">
		<a href="<?=MozgRoute::Get('http')->Create(array('module' => 'admin', 'ctrl' => 'cfg', 'action' => 'out_cfg', 'id' => $cKey));?>"><?php echo $params['name'] ?></a>
	</li>
<?php
}

?>
</ul>